home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NeXTSTEP 3.3 (Developer)…68k, x86, SPARC, PA-RISC]
/
NeXTSTEP 3.3 Dev Intel.iso
/
usr
/
sybase
/
include4_6
/
syberror.h
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-22
|
2KB
|
58 lines
/*
* syberror.h 77.1 11/11/91
*
* $Logfile: $
* $Revision: $
* $Date: $
* $Author$
*
* Sybase DB-LIBRARY Version 4.0
* Confidential Property of Sybase, Inc.
* (c) Copyright Sybase, Inc. 1988, 1990
* All rights reserved
*
*
* Use, duplication, or disclosure by the Government
* is subject to restrictions as set forth in subparagraph (c) (1) (ii)
* of the Rights in Technical Data and Computer Software clause
* at DFARS 52.227-7013. Sybase, Inc. 6475 Christie Avenue, Emeryville,
* CA 94608.
*
*/
#ifndef __syberror__
#define __syberror__
/* Major Component of error code (This is not currently used) */
#define EXCEPTION 1 /* an error within the exception mechanism */
#define EXSIGNAL 2
#define EXSCREENIO 3
#define EXDBLIB 4
#define EXFORMS 5
#define EXCLIPBOARD 6
#define EXLOOKUP 7
/* The severity levels are defined here */
#define EXINFO 1 /* informational, non-error */
#define EXUSER 2 /* user error */
#define EXNONFATAL 3 /* non-fatal error */
#define EXCONVERSION 4 /* Error in DB-LIBRARY data conversion. */
#define EXSERVER 5 /* The Server has returned an error flag. */
#define EXTIME 6 /* We have exceeded our timeout period while
* waiting for a response from the Server -
* the DBPROCESS is still alive.
*/
#define EXPROGRAM 7 /* coding error in user program */
#define EXRESOURCE 8 /* running out of resources - the DBPROCESS
* may be dead.
*/
#define EXCOMM 9 /* failure in communication with Server -
* the DBPROCESS is dead.
*/
#define EXFATAL 10 /* fatal error - the DBPROCESS is dead. */
#define EXCONSISTENCY 11 /* internal software error - notify Sybase
* Technical Supprt.
*/
#endif /* __syberror__ */